package com.example.ordersservice.service;

import com.example.ordersservice.entity.OrderOrders;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2023-06-23
 */
public interface OrderOrdersService extends IService<OrderOrders> {

    void batchDelete(List<String> ids);

    OrderOrders createOrders(List<String> ids, String customerId, String notes);

    void countDown(String ordersNumber) throws InterruptedException;

    BigDecimal getTotalPayAmount(String date);

    int getTotalNum(String date);
}
